#!/bin/bash

npm i
npm run build

if [ -d "./dist/" ]; then
  cp -af ./dist ../dist
else
  exit 1
fi
